<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<form id="transferForm">
	<input type="hidden" name="zhangJie" value="${zj.id}">
	<input type="hidden" name="id" value="${xt.id}">
	<div class="form-item1">
		<label for="" class="tm">题目</label><br />
		<textarea name="title" class="easyui-textbox" data-options="multiline:true" style="height: 220px;width: 400px">${xt.title}</textarea>
	</div>
	<div class="form-item1">
		<input type="hidden" name="zhangJie" value="${zj.id}">
		<p style="padding-top: 10px;">学习阶段：${zj.dagang.name }</p>
		<p style="padding-top: 10px;">章节：${zj.name }</p>
	</div>
		
	
	<div class="form-item1 required">
		<label for="">学习阶段</label> 
		<input class="easyui-combobox" style="width: 200px;"
			data-options="valueField:'tb_classes_id', 
		            textField:'class_name', 
		            url:'teaemploy/getClassList',
		            panelHeight:'auto',
		            required:true,
		            editable:false,
		            onSelect:function(rec){
           	 			$('[comboname=student]').combobox('clear');  
            			$('[comboname=student]').combobox('reload', 'teaemploy/getStudentListByClass/' + rec.tb_classes_id);
            			$('[comboname=student]').combobox({
            				valueField:'tb_student_id',
		            		textField:'student_name', 
		            		required:true,
		            		editable:true,
            			});
        			},  
        			onLoadSuccess:function(){  
            			var value = $(this).combobox('getValue');
            			if(value != ''){
            				$('[comboname=student]').combobox('reload', 'teaemploy/getStudentListByClass/' + $(this).combobox('getValue'));  
                		}  
        			}" value="${sel.tb_classes_id }"/>

	</div>
	<div class="form-item1 required">
		<label for="">章节</label> 
		<input name="student" value="${sel.tb_student_id }" class="easyui-combobox" style="width: 200px;" data-options="panelHeight:'auto',prompt:'请先填入班级'">
	</div>
	
</form>